2026-09-24 · class-notes, a-plus, comptia, messer, hardware, memory, ram, dimm, ddr
Full class notes for Professor Messer A+ 220-1201 objective 3.3: RAM vs storage, DIMM and SO-DIMM, 64-bit data width, SDRAM, double data rate, and DDR3/DDR4/DDR5 compatibility and keying.
Class notes · Professor Messer, CompTIA A+ 220-1201 Core 1 · Section 3, objective 3.3 (An Overview of Memory)
Quick reference: the short version of this lesson is the An Overview of Memory cheat sheet in A+ Core 1 section 3. It opens objective 3.3, the memory half of section 3, following on from the cabling material (objective 3.2) and the display lessons (objective 3.1) earlier in the section.
By the end of these notes you should be able to:
When people ask "how much memory does your computer have?" or say a computer "is running out of memory," they are almost always talking about RAM — Random Access Memory. RAM is the most common type of memory inside a computer, though not the only kind you will encounter in this course.
It is worth being deliberate about this distinction: RAM is not your long-term storage. It is not your hard drive, and it is not your SSD. Confusing "memory" with "storage" is an easy mistake in everyday language, and the exam expects you to keep the two firmly separate.
RAM is temporary, high-speed storage used while applications are executing and calculations are being performed. A computer can only work with data that has been loaded into RAM. The typical flow is:
+------------------------------------------------------------------------------+
| |
| [ Storage drive ] --load--> [ RAM ] <--process--> [ CPU ] |
| (HDD / SSD) | |
| persistent, | |
| slower v |
| --write back--> [ Storage drive ] |
| (for anything that must persist) |
| |
| RAM: temporary, high-speed, lost on power-off |
| Storage: persistent, slower, survives power-off |
| |
+------------------------------------------------------------------------------+
Exam tip: if a question describes data being lost the moment the power goes off, it is describing RAM. If it describes data surviving a reboot, it is describing storage.
Memory technology has been updated every few years, and memory speed is closely tied to overall system performance — faster memory generally means a faster computer, all else being equal.
A single stick of memory is not generally compatible with every computer. Every motherboard expects a specific type of memory. Before performing a memory upgrade, or moving memory from one system to another, check the system's documentation to confirm compatibility with that particular motherboard.
Caution: compatibility is not just about the memory generation (DDR4 versus DDR5, for example). Motherboards also have limits on speed, capacity per module, total capacity, and sometimes specific supported module lists. Checking "is it DDR4" is necessary but not always sufficient.
Rather than installing individual memory chips directly onto a motherboard, modern systems use a single assembled module: the DIMM, or Dual Inline Memory Module.
Look at a DIMM and you will see a row of electrical contacts along the bottom edge on one side, and — turn it over — a different set of contacts on the other side. Because there are two separate lines of contacts, carrying independent signals, the module is described as dual inline.
Note (beyond this lesson): this is what genuinely distinguishes a DIMM from its predecessor, the SIMM (Single Inline Memory Module). On a SIMM, the contacts on the front and back of the module were electrically tied together, acting as one set of signals; on a DIMM, the two sides carry independent signals, effectively doubling the number of active contacts for a given physical edge length. That electrical independence — not merely "having contacts on both sides" — is the real meaning of "dual" in DIMM.
Reading from or writing to memory happens in 64-bit blocks — the data width of memory. Any calculation of how much data is being transferred to or from memory uses this 64-bit figure as the base unit.
Note (beyond this lesson): a standard (non-ECC) DIMM's data bus is 64 bits wide. A DIMM that also carries ECC (error-correcting code) adds an extra 8 bits for error checking, giving 72 bits total — the additional 8 bits are for error detection and correction, not for user data.
Because all the individual memory chips sit on one module, a DIMM is installed or removed as a single unit:
Laptops and other mobile devices are too compact for a full-size DIMM, so they use a smaller version: the SO-DIMM, or Small Outline Dual Inline Memory Module — roughly half the size of a standard DIMM.
The installation process is conceptually the same as a desktop DIMM, but the module is typically installed horizontally, sliding into a socket at a shallow angle and then pressed down flat, where the side locks hold it in place. This horizontal orientation is chosen specifically to conserve space inside a laptop's chassis.
+------------------------------------------------------------------------------+
| |
| DIMM (desktop) SO-DIMM (laptop) |
| |
| +----------------------------+ +----------------+ |
| | full-size module | | about half | |
| | installed vertically, | | the length | |
| | pushed straight down | | installed at | |
| | into the slot | | an angle, then | |
| +----------------------------+ | pressed flat | |
| +----------------+ |
| |
+------------------------------------------------------------------------------+
Placed side by side, the size difference is immediately obvious — the DIMM is the longer module, and the SO-DIMM's reduced size is precisely what makes it the right choice for mobile devices.
On a DIMM, the individual chips are dynamic random access memory. It is called "random access" because any data at any address can be accessed instantaneously, in any order. There is no need to fast-forward or rewind through the data — unlike, for example, magnetic tape, where reaching a specific point means physically winding through everything before it.
Instead of sequential access, RAM works by referencing an address directly — the system asks for the data at a particular location and gets it immediately, regardless of where that location sits relative to whatever was accessed previously.
The specific type of DRAM used in modern computers is SDRAM — Synchronous Dynamic Random Access Memory. "Synchronous" means the memory is synchronised to a common clock inside the computer.
The CPU and memory operate at extremely high speeds. A shared clock gives many components inside the computer a standard, predictable rate against which data transfers happen — everything stays in step, which is essential when operations are happening at the speeds involved.
An older style of memory used a single data rate: one bit of data transferred per clock cycle, tied directly to the clock's rate. Each cycle moved the transfer along by exactly one step.
DDR — Double Data Rate — memory transfers data at both the top and the bottom of the clock cycle: once as the signal rises, and again as it falls. This effectively doubles the amount of data moved in the same amount of time, without needing to raise the clock frequency itself.
+------------------------------------------------------------------------------+
| |
| Single data rate: one transfer per full clock cycle |
| |
| clock: __/ \__/ \__/ \__ |
| data: [1] [2] [3] -- one bit per cycle |
| |
| Double data rate: one transfer on the rise, another on the fall |
| |
| clock: __/ \__/ \__/ \__ |
| data: [1][2] [3][4] [5][6] -- two bits per cycle, same clock |
| |
+------------------------------------------------------------------------------+
Current computer memory is DDR memory, written as DDR followed by a generation number — for example, DDR3, DDR4, or DDR5 — indicating which version of the double-data-rate technology is installed.
DDR3 succeeded the older DDR2. It increased total achievable capacity on a single memory module, but it is not backwards-compatible with DDR2 — a motherboard built for DDR3 will not accept DDR2 memory, and vice versa.
DDR4 further increased speed over DDR3. As a newer generation with its own distinct technology, it is likewise not backwards-compatible with earlier DDR versions.
DDR5 further increases the speed of data transfer between the memory module and the CPU, and is, again, not backwards-compatible with earlier memory.
Each new generation brings improvements, and each new generation is expected to be incompatible with the generation before it. This has held consistently across the DDR history covered here, and is a reasonable expectation for any future generation as well.
| Generation | Key change | Backwards-compatible? |
|---|---|---|
| DDR3 (from DDR2) | Increased module capacity | No |
| DDR4 (from DDR3) | Increased speed | No |
| DDR5 (from DDR4) | Further increased transfer speed | No |
Note (beyond this lesson): the physical facts behind this incompatibility are worth knowing for troubleshooting: DDR3 DIMMs use 240 pins (204 on a SO-DIMM), DDR4 DIMMs use 288 pins (260 on a SO-DIMM), and DDR5 DIMMs also use 288 pins (262 on a SO-DIMM) — the same DIMM pin count as DDR4, but with the notch in a different position and a different operating voltage, which is exactly why the keying described next is what actually prevents a DDR5 module from being mistaken for DDR4 despite the matching pin count.
Manufacturers build in physical protection against installing the wrong memory type. Each module has small keys, or notches, near the bottom edge that must align with a matching key on the motherboard's memory slot.
This means a DDR2 module physically cannot fit into a slot built for a different generation. Attempting to install DDR4 memory into a DDR3 motherboard, for example, shows immediately that the modules do not fit — the notch simply lands in the wrong place, and the module cannot be seated.
+------------------------------------------------------------------------------+
| |
| Module edge, bottom view (simplified) |
| |
| DDR3 module: [----contacts----][notch][----contacts----] |
| DDR3 slot: [ridge] |
| ^ matches, module seats fully |
| |
| DDR4 module: [------contacts------][notch][----contacts----] |
| DDR3 slot: [ridge] |
| ^ notch position differs, |
| module cannot be pushed in |
| |
+------------------------------------------------------------------------------+
Exam tip: the keying is the mechanism that makes "wrong generation memory won't even fit" true in practice, not just a rule of thumb — it is a deliberate, physical design feature, not an accident of different pin counts alone (DDR4 and DDR5 in fact share the same 288-pin count, and it is the notch position and voltage that differ).
Scenario: a technician has purchased new memory for an upgrade, but the module will not push fully into the slot on the motherboard, and forcing it seems unwise.
Memory is not usually where security attention goes first, but a few points from this lesson carry real weight.
| Term | Meaning |
|---|---|
| RAM | Random Access Memory; temporary high-speed working memory |
| Storage | Long-term data storage (HDD/SSD), distinct from RAM |
| DIMM | Dual Inline Memory Module; the standard desktop memory module |
| Data width | The size, in bits, of a block read from or written to memory |
| SO-DIMM | Small Outline DIMM; a compact memory module used in laptops |
| Random access | The ability to reach any memory address instantly, in any ord |
| DRAM | Dynamic Random Access Memory; the memory chip type on a DIMM |
| SDRAM | Synchronous DRAM; DRAM synchronised to a system clock |
| Clock | The timing signal that paces data transfers between components |
| Single data rate | Transferring one data unit per full clock cycle |
| DDR | Double Data Rate; transferring data on both edges of the clock cycle |
| DDR3 / DDR4 / DDR5 | Successive, mutually incompatible generations of DDR mem |
| Keying | Physical notches that prevent installing the wrong memory generation |
| ECC | Error-correcting code; adds extra bits for error detection/correction |
| Cold boot attack | Recovering RAM contents shortly after power loss, before t |